<?php

/**
 * Matiere form.
 *
 * @package    appcemhti
 * @subpackage form
 * @author     Steve Cancès
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class MatiereForm extends BaseMatiereForm
{
  public function configure()
  {
      $this->widgetSchema['libelle']->setLabel("Nom du matériau");
      
      $this->getValidator('libelle')->setMessage('required', 'Champ obligatoire.');
      $this->getValidator('libelle')->setMessage('max_length', '"%value%" est trop long (%max_length% lettres maximum).');
  }
}
